package enemies;

import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.doge.Character;
import com.doge.*;

public class BookBeast extends Character
{	
	public BookBeast(TextureRegion t, Tile position){
		super(t,position);

		name = "Book Beast";
		
		health = 110;
		dogeCoins = 100;
		/*name, statamt, stat(0 = dmg, 1 = healing), energyreq*/
		battleActions.add(new BattleAction("Rustle Pages",1,0,0));
		battleActions.add(new BattleAction("Teach Lesson",25,0,50));
		battleActions.add(new BattleAction("Supreme Knowledge",1000,0,100));
	}
	
	public BookBeast(Tile position){
		this(Textures.bookBeast,position);
		
	}
	public BattleAction getNextAction()
	{
		energyRegen = 15;
		if(energy == 100 && health < 25)
			return battleActions.get(2);
		else
			return battleActions.get((int)Math.random()*battleActions.size()-1);

	}
}